package org.wanda.pv.service.basic;

import org.springframework.stereotype.Service;
import org.wanda.pv.model.basic.Point;
import org.wanda.pv.service.BaseService;

/**
 * @author lxy
 * @date 2018/11/15 12:29
 */
public interface PointService extends BaseService<Point> {

    void updatePointLocation(Integer newLocation,Point point);
    void del(Long id)throws Exception;
    void update(Long id,
                String name,
                String number,
                Long topPointId,
                Long[] questionClassIds,
                Long[] specialtyIds,
                Long pointClassId,
                Long systemId)throws Exception;

    Point add(String name,
              String number,
              Long topPointId,
                 Long[] questionClassIds,
                 Long[] specialtyIds,
                 Long pointClassId,
                 Long systemId)throws Exception;


}
